package weiy.top.modules.payment.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: oms_payment_info
 * @Author: weihancheng
 * @Date:   2021-12-16
 * @Version: V1.0
 */
@Data
@TableName("oms_payment_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="oms_payment_info对象", description="oms_payment_info")
public class OmsPaymentInfo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.Integer id;
	/**订单号（对外业务号）*/
	@Excel(name = "订单号（对外业务号）", width = 15)
    @ApiModelProperty(value = "订单号（对外业务号）")
    private java.lang.String orderSn;
	/**订单id*/
	@Excel(name = "订单id", width = 15)
    @ApiModelProperty(value = "订单id")
    private java.lang.Integer orderId;
	/**支付宝交易流水号*/
	@Excel(name = "支付宝交易流水号", width = 15)
    @ApiModelProperty(value = "支付宝交易流水号")
    private java.lang.String alipayTradeNo;
	/**支付总金额*/
	@Excel(name = "支付总金额", width = 15)
    @ApiModelProperty(value = "支付总金额")
    private java.math.BigDecimal totalAmount;
	/**交易内容*/
	@Excel(name = "交易内容", width = 15)
    @ApiModelProperty(value = "交易内容")
    private java.lang.String subject;
	/**支付状态*/
	@Excel(name = "支付状态", width = 15)
    @ApiModelProperty(value = "支付状态")
    private java.lang.String paymentStatus;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**确认时间*/
	@Excel(name = "确认时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "确认时间")
    private java.util.Date confirmTime;
	/**回调内容*/
	@Excel(name = "回调内容", width = 15)
    @ApiModelProperty(value = "回调内容")
    private java.lang.String callbackContent;
	/**回调时间*/
	@Excel(name = "回调时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "回调时间")
    private java.util.Date callbackTime;
}
